export const gaugeChart_staticData = [
  {
    value: 50,
    name: "成绩",
  },
];
export const gaugeChart = {
  tooltip: {
    trigger: "item",
  },
  series: [
    {
      // name: gaugeChart_staticData[0].name,
      type: "gauge",
      progress: {
        show: true,
        width: 10,
        itemStyle: {},
      },
      axisLine: {
        lineStyle: {
          width: 10, // 设置背景条的宽度
        },
      },
      radius: "75%",

      detail: {
        show: true,
        // 偏移位置
        offsetCenter: ["0%", "50%"],
        color: "#fff",
        width: 40,
        height: 14,
        fontSize: 14,
        backgroundColor: "inherit",
        borderRadius: 3,
        formatter: "{value}%",
      },
      title: {
        show: true,
        // 偏移位置
        offsetCenter: ["0%", "30%"],
        color: "#464646",
        fontSize: 30,
      },
      pointer: {
        show: true,
        showAbove: true,
        offsetCenter: [0, 0],
        length: "60%",
        width: 6,
        itemStyle: {
          color: "auto",
          borderColor: "#000",
          borderWidth: 0,
        },
      },
      itemStyle: {
        color: "auto",
        borderColor: "#000",
        borderWidth: 0,
      },
      data: gaugeChart_staticData,
    },
  ],
};
